/*
 * @Author: Xujianchen
 * @Date: 2025-08-08 14:24:07
 * @LastEditors: Xujianchen
 * @LastEditTime: 2025-08-08 16:01:12
 * @Description: 登录接口
 */
import { http } from '@/common/request'

export function login(code) {
  return http({
    url: '/api/v1/user/login',
    method: 'post',
    data: {
      code,
    }
  })
}